package com.sping_boot3.spirng_boot3;

//import org.apache.rocketmq.spring.autoconfigure.RocketMQAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

//@Import(RocketMQAutoConfiguration.class)
@SpringBootApplication(scanBasePackages = "com.sping_boot3.spirng_boot3")
public class SpirngBoot3Application {

    public static void main(String[] args) {
        //java10 局部变量自动推断类型
       var ioc = SpringApplication.run(SpirngBoot3Application.class, args);
//        String[] beanDefinitionNames = ioc.getBeanDefinitionNames();
//        for (int i = 0; i < beanDefinitionNames.length; i++) {
//            System.out.println(beanDefinitionNames[i]);
//        }

    }

}
